<template>
  <div class="site_info">Copyright &copy; 2023-{{currentYear}} 暄语 e4glet Studio.</div>
</template>
<script>
export default {
  name: "SiteInfo",
  data() {
    return {
      currentYear:"2023",
    };
  },
  mounted(){
    this.newDate();
  },
  methods: {
    newDate() {
      this.currentYear = new Date().getFullYear();
    },
  },
};
</script>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
/* 站点信息 */
.site_info{
  font-size: 14px;
  font-weight: bold;
  padding: 10px 16px;
}
</style>